import dva from 'dva';
import './index.css';
import createLoading from 'dva-loading';
import 'antd/dist/antd.css';

// 1. Initialize
 const app = dva();


// 2. Plugins
// app.use({});
app.use(createLoading());

// 3. Model
app.model(require("./models/common"));
app.model(require("./models/comList"))

// 4. Router
app.router(require('./router'));

// 5. Start
app.start('#root');
